@Inject('$http')
class IterationTableService {

  add(param) {
    return this.$http.post('/api/v1/safetyTable/history/add', param);
  }

  get(id) {
    return this.$http({
      url: '/api/v1/safetyTable/history/findOne',
      method: 'GET',
      params: id,
    });
  }

  queryDisabled(id) {
    return this.$http({
      url: '/api/v1/safetyTable/record/findOne',
      method: 'GET',
      params: id,
    });
  }

}

export default IterationTableService;
